package net.gamebookengine.viewer.entities;

import java.util.List;

import org.simpleframework.xml.Attribute;
import org.simpleframework.xml.Element;
import org.simpleframework.xml.ElementList;
import org.simpleframework.xml.Path;

public class Section
{
	@Attribute private String							id;
	@Attribute(required = false) private String			type;
	@Element private String								text;
	@ElementList(required = false) private List<Choice>	choices;
	
	@Path("image")
	@Attribute(name="src", required = false)
	private String										image;
	
	
	public String getId()
	{
		return id;
	}
	
	public String getType()
	{
		return type;
	}
	
	public String getText()
	{
		return text;
	}
	
	public List<Choice> getChoices()
	{
		return choices;
	}

	public String getImage() {
		return image;
	}
	
}
